package cn.iocoder.yudao.module.erp.controller.admin.stock.goodswarehouselink.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;

@Schema(description = "管理后台 - 物品和仓库的连接 Response VO")
@Data
@ExcelIgnoreUnannotated
public class GoodsWarehouseLinkRespVO {

    @Schema(description = "id", requiredMode = Schema.RequiredMode.REQUIRED, example = "5922")
    @ExcelProperty("id")
    private Long id;

    @Schema(description = "仓库id", example = "29167")
    @ExcelProperty("仓库id")
    private Integer warehouseId;

    @Schema(description = "物品id", example = "8503")
    @ExcelProperty("物品id")
    private Integer goodsId;

    @Schema(description = "库存量")
    @ExcelProperty("库存量")
    private BigDecimal inventory;

    @Schema(description = "添加时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("添加时间")
    private LocalDateTime createTime;

    @Schema(description = "仓库名称")
    @ExcelProperty("仓库名称")
    private String warehouseName;

    @Schema(description ="物品名称")
    @ExcelProperty("物品名称")
    private String goodsName;

}